package com.web.common.iot.mqtt.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(title = "MQTT消息投递", description = "MQTT消息投递")
public class MqttDeliveredListener extends MqttBaseListener {
	
	/** MQTT 消息的 QoS */
	@Schema(title = "MQTT 消息的 QoS")
	private String qos;
	
	/** MQTT 消息的 Flags */
	@Schema(title = "MQTT 消息的 Flags")
	private String flags;

	/** 消息目的客户端ID */
	@Schema(title = "消息目的客户端ID")
	private String toClientId;
	
	/** 消息目的用户名 */
	@Schema(title = "消息目的用户名")
	private String toUsername;
	
	/** MQTT 消息体 */
	@Schema(title = "MQTT 消息体")
	private String payload;
}
